package com.api.hg.model;

import com.api.sw.duban.annotation.Field;
import com.api.sw.duban.annotation.Table;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 资产系统管理员下发的 盘点任务
 *
 */
@Table(value="uf_zcpdrwxf",datasource = "local")
public class uf_zcpdrwxf {
    @Field(dbFiledName="")
    private int bxpdsbsl;//不需盘点设备数量
    @Field(dbFiledName="")
    private String pdnf="";//	盘点年份
    @Field(dbFiledName="")
    private String rwbt="";//任务标题
    @Field(dbFiledName="")
    private int xfry;//下发人员
    @Field(dbFiledName="")
    private String xfrq="";//下发日期
    @Field(dbFiledName="")
    private String pdqx;//盘点期限
    @Field(dbFiledName="")
    private String pdbm="";//盘点部门
    @Field(dbFiledName="")
    private String sblx="";//设备类型
    @Field(dbFiledName="")
    private String bxpdsb="";//不需盘点资产
    @Field(dbFiledName="")
    private int pdsbzs;//盘点设备总数
    @Field(dbFiledName="")
    private String datauuid;//本次任务的标识


    /* 建模自带属性*/
    @Field(dbFiledName="")
    private String modedatacreater="1";//创建人
    @Field(dbFiledName="")
    private String modedatacreatedate="";//创建日期
    @Field(dbFiledName="")
    private String formmodeid="209";//模块ID 默认值 本地14 海关测试195 海关正式196
    @Field(dbFiledName="")
    private String modedatacreatertype="0";//创建类型
    @Field(dbFiledName="")
    private String modedatacreatetime="";//创建时间
    public uf_zcpdrwxf(){
        SimpleDateFormat sim=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.modedatacreatedate=sim.format(new Date()).split(" ")[0];
        this.modedatacreatetime=sim.format(new Date()).split(" ")[1];
    }
    public int getBxpdsbsl() {
        return bxpdsbsl;
    }

    public String getDatauuid() {
        return datauuid;
    }

    public void setDatauuid(String datauuid) {
        this.datauuid = datauuid;
    }

    public void setBxpdsbsl(int bxpdsbsl) {
        this.bxpdsbsl = bxpdsbsl;
    }

    public String getPdnf() {
        return pdnf;
    }

    public void setPdnf(String pdnf) {
        this.pdnf = pdnf;
    }

    public String getRwbt() {
        return rwbt;
    }

    public void setRwbt(String rwbt) {
        this.rwbt = rwbt;
    }

    public int getXfry() {
        return xfry;
    }

    public void setXfry(int xfry) {
        this.xfry = xfry;
    }

    public String getXfrq() {
        return xfrq;
    }

    public void setXfrq(String xfrq) {
        this.xfrq = xfrq;
    }

    public String getPdqx() {
        return pdqx;
    }

    public void setPdqx(String pdqx) {
        this.pdqx = pdqx;
    }

    public String getPdbm() {
        return pdbm;
    }

    public void setPdbm(String pdbm) {
        this.pdbm = pdbm;
    }

    public String getSblx() {
        return sblx;
    }

    public void setSblx(String sblx) {
        this.sblx = sblx;
    }

    public String getBxpdsb() {
        return bxpdsb;
    }

    public void setBxpdsb(String bxpdsb) {
        this.bxpdsb = bxpdsb;
    }

    public int getPdsbzs() {
        return pdsbzs;
    }

    public void setPdsbzs(int pdsbzs) {
        this.pdsbzs = pdsbzs;
    }

    public String getModedatacreater() {
        return modedatacreater;
    }

    public void setModedatacreater(String modedatacreater) {
        this.modedatacreater = modedatacreater;
    }

    public String getModedatacreatedate() {
        return modedatacreatedate;
    }

    public void setModedatacreatedate(String modedatacreatedate) {
        this.modedatacreatedate = modedatacreatedate;
    }

    public String getFormmodeid() {
        return formmodeid;
    }

    public void setFormmodeid(String formmodeid) {
        this.formmodeid = formmodeid;
    }

    public String getModedatacreatertype() {
        return modedatacreatertype;
    }

    public void setModedatacreatertype(String modedatacreatertype) {
        this.modedatacreatertype = modedatacreatertype;
    }

    public String getModedatacreatetime() {
        return modedatacreatetime;
    }

    public void setModedatacreatetime(String modedatacreatetime) {
        this.modedatacreatetime = modedatacreatetime;
    }

    @Override
    public String toString() {
        return "uf_zcpdrwxf{" +
                "bxpdsbsl=" + bxpdsbsl +
                ", pdnf='" + pdnf + '\'' +
                ", rwbt='" + rwbt + '\'' +
                ", xfry=" + xfry +
                ", xfrq='" + xfrq + '\'' +
                ", pdqx='" + pdqx + '\'' +
                ", pdbm='" + pdbm + '\'' +
                ", sblx='" + sblx + '\'' +
                ", bxpdsb='" + bxpdsb + '\'' +
                ", pdsbzs=" + pdsbzs +
                '}';
    }
}
